Optimal. Leaf size=68 \[ \frac{b p q \text{PolyLog}\left (2,-\frac{h (e+f x)}{f g-e h}\right )}{h}+\frac{\log \left (\frac{f (g+h x)}{f g-e h}\right ) \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right )}{h} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.112373, antiderivative size = 68, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.154, Rules used = {2394, 2393, 2391, 2445} \[ \frac{b p q \text{PolyLog}\left (2,-\frac{h (e+f x)}{f g-e h}\right )}{h}+\frac{\log \left (\frac{f (g+h x)}{f g-e h}\right ) \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right )}{h} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2394
Rule 2393
Rule 2391
Rule 2445
Rubi steps
\begin{align*} \int \frac{a+b \log \left (c \left (d (e+f x)^p\right )^q\right )}{g+h x} \, dx &=\operatorname{Subst}\left (\int \frac{a+b \log \left (c d^q (e+f x)^{p q}\right )}{g+h x} \, dx,c d^q (e+f x)^{p q},c \left (d (e+f x)^p\right )^q\right )\\ &=\frac{\left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right ) \log \left (\frac{f (g+h x)}{f g-e h}\right )}{h}-\operatorname{Subst}\left (\frac{(b f p q) \int \frac{\log \left (\frac{f (g+h x)}{f g-e h}\right )}{e+f x} \, dx}{h},c d^q (e+f x)^{p q},c \left (d (e+f x)^p\right )^q\right )\\ &=\frac{\left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right ) \log \left (\frac{f (g+h x)}{f g-e h}\right )}{h}-\operatorname{Subst}\left (\frac{(b p q) \operatorname{Subst}\left (\int \frac{\log \left (1+\frac{h x}{f g-e h}\right )}{x} \, dx,x,e+f x\right )}{h},c d^q (e+f x)^{p q},c \left (d (e+f x)^p\right )^q\right )\\ &=\frac{\left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right ) \log \left (\frac{f (g+h x)}{f g-e h}\right )}{h}+\frac{b p q \text{Li}_2\left (-\frac{h (e+f x)}{f g-e h}\right )}{h}\\ \end{align*}
Mathematica [A] time = 0.0068633, size = 67, normalized size = 0.99 \[ \frac{b p q \text{PolyLog}\left (2,\frac{h (e+f x)}{e h-f g}\right )}{h}+\frac{\log \left (\frac{f (g+h x)}{f g-e h}\right ) \left (a+b \log \left (c \left (d (e+f x)^p\right )^q\right )\right )}{h} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.06, size = 0, normalized size = 0. \begin{align*} \int{\frac{a+b\ln \left ( c \left ( d \left ( fx+e \right ) ^{p} \right ) ^{q} \right ) }{hx+g}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} b \int \frac{\log \left ({\left ({\left (f x + e\right )}^{p}\right )}^{q}\right ) + \log \left (c\right ) + \log \left (d^{q}\right )}{h x + g}\,{d x} + \frac{a \log \left (h x + g\right )}{h} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{b \log \left (\left ({\left (f x + e\right )}^{p} d\right )^{q} c\right ) + a}{h x + g}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{a + b \log{\left (c \left (d \left (e + f x\right )^{p}\right )^{q} \right )}}{g + h x}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{b \log \left (\left ({\left (f x + e\right )}^{p} d\right )^{q} c\right ) + a}{h x + g}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]